{extend name="../../admin/view/main"}

{block name="button"}
{/block}

{block name="content"}
<div class="layui-tab layui-tab-card">

    <div class="layui-tab-content">
        <table class="layui-table margin-top-10" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='nowrap'>名称</th>
                <th class='nowrap'>时间</th>
                <th class='nowrap'>操作</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr>
                <td class="nowrap"><div>{$vo.painter}</div></td>
                <td class="nowrap"><div>{$vo.month}</div></td>
                <td class="nowrap">

                    <!--{if auth("index")}-->
                    <a data-dbclick class="layui-btn layui-btn-sm layui-btn-primary" data-open="{:url('index')}?month={$vo.month}&painter={$vo.painter}" data-width="900px">查 看</a>
                    <!--{/if}-->
                </td>

            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
    </div>
</div>

{/block}